all:
	gcc `pkg-config --cflags --libs libnotify gtk+-2.0 glib-2.0` -D_FORTIFY_SOURCE=2 -O2 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"kylin-verify-gui.d" -MT"kylin-verify-gui.d" -o "kylin-verify-gui.o" "./kylin-verify-gui.c" 
	gcc -o "kylin-verify-gui"  "kylin-verify-gui.o"   -lnotify -lgobject-2.0  -D_FORTIFY_SOURCE=2 -O2 `pkg-config --cflags --libs libnotify gtk+-2.0 glib-2.0`
	gcc -o kylin-verify kylin-verify.c `pkg-config --cflags --libs glib-2.0` -D_FORTIFY_SOURCE=2 -O2
	msgfmt po/zh_CN.po -o kylin-verify.mo
	msgfmt po/99-kylin-verify-info.po -o 99-kylin-verify-info.mo

.PHONY : clean
clean:
	-rm kylin-verify-gui.d kylin-verify-gui.o kylin-verify-gui kylin-verify kylin-verify.mo 99-kylin-verify-info.mo
